package com.xhl.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import com.xhl.vo.OrderVO;
import com.xhl.vo.Pager;

@Repository
public interface IOrderDao {
    public List<OrderVO> queryOrder(Pager<?> p);

    public long count();

    public List<OrderVO> queryOrderInfo(Pager<?> p);

    public void orderUpdateShipments(@Param("oid") String oid);

    public List<OrderVO> queryOrderById(@Param("uid") String uid, @Param("status") String status);

    public void confirmReceipt(@Param("oid") String oid);

    public OrderVO queryOrderOid(String oid);

    public void waitDelivery(String oid);

    public void orderAccomplish(String oid);

    public long orderMaxId();

    public void addOrder(OrderVO ovo);

}
